|
|
 |
|
|
|
|
2. A Watch expression is set by using the Tools, Add Watch menu option, pressing Shift+F9, or by right-clicking the variable and choosing Add Watch from the popup menu. |
|
|
|
 |
|
|
|
|
3. Whenever you are stopped at a breakpoint or Break expression in a procedure, the Locals window will display the values of all variables and properties that are currently available within that procedure. |
|
|
|
|
|
|
|
|
Because of the way breakpoints work, the only thing I can show you is what it would look like on my computer, not necessarily what you would see on your computer. For that reason, there is no answers for this chapter. |
|
|
|
|
|
|
|
|
Day 19, Performance and Tuning |
|
|
|
 |
|
|
|
|
1. A resource file contains all the string constants and picture objects that your application will use. It also allows you to quickly change the language of all messages and labels in the application. |
|
|
|
 |
|
|
|
|
2. You can increase the performance of your application in many different ways, including the following: |
|
|
|
 |
|
|
|
|
By keeping forms hidden instead of unloading them |
|
|
|
 |
|
|
|
|
By using more efficient Visual Basic variables and processing |
|
|
|
 |
|
|
|
|
When appropriate, by compiling the application into a native code executable |
|
|
|
|
|
|
|
|
This is another exercise that only you will know if you found the correct answer. |
|
|
|
|
|
|
|
|
Day 20, Finishing the Application |
|
|
|
 |
|
|
|
|
1. If you can't support your application after you sell it, your users won't recommend it to other people they talk to. |
|
|
|
 |
|
|
|
|
2. When selling your application, you need to advertise and set up a process by which customers can purchase your software. By selling as shareware, however, all you need to do is put in on a shareware server and wait for the money to start coming in. |
|
|
|
|
|